﻿using System;
using AcademicPlanner.Framework.Helpers;

namespace AcademicPlanner.Presentation.Views.Site
{
	/// <summary>
	/// Represents the home page of the AcademicPlanner application.
	/// </summary>
    public partial class Home : View<object>
    {
		/// <summary>
		/// Handles the load page event by setting the page's heading and title.
		/// </summary>
		/// <param name="sender">The sender of the event.</param>
		/// <param name="e">The information about the event</param>
		/// <version>1.0</version>
		/// <since>1.0</since>
		protected void Page_Load(object sender, EventArgs e)
		{
			pageHeading = Tr("Welcome");
			Title = string.Format(Tr(titleFormat), pageHeading);
		}
    }
}
